﻿<%@ Page Language="C#"  UICulture="auto" Culture="es-MX" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="Global1._Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
        <asp:ListBox ID="ListBox1" runat="server" AutoPostBack="True" 
            onselectedindexchanged="ListBox1_SelectedIndexChanged">
            <asp:ListItem Value="en-US">English</asp:ListItem>
            <asp:ListItem Value="es-MX">Espanol</asp:ListItem>
            <asp:ListItem Value="de-DE">Deutsch</asp:ListItem>
        </asp:ListBox>
    
    </div>
    <p>
        <asp:Button ID="Button1" runat="server" Text="Set Language" 
            onclick="Button1_Click" />
    </p>
    <p>
        <asp:Label ID="Label1" runat="server">Hello</asp:Label>
    </p>
    </form>
</body>
</html>
